import './assets/styles/index.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@icon-park/vue-next/styles/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import App from './App.vue'
import Forms from '@/components/Forms/index.vue'
import elSlot from '@/components/Forms/slot.vue'
import Buttons from '@/components/Buttons/index.vue'
import router from './router'
const app = createApp(App)
app.component('ElSlot', elSlot)
app.component('Forms', Forms)
app.component('Buttons', Buttons)
app.use(ElementPlus, { locale: zhCn })
app.use(createPinia())
app.use(router)
app.mount('#app')
